# -*-mode: Makefile;-*- Time-stamp: <2011-08-28 05:02:56 toge>
CXX = /usr/local/opt/mingw-cross-env-2.21/usr/bin/i686-pc-mingw32-g++

CFLAG = -O3
LDFLAG =

.PHONY : all clean zip

all : awe-sample.exe

clean :
	-@rm -f *.o *.a *.exe

zip :
	-@rm -f awe-sample_revxx.zip
	-@zip awe-sample_revxx.zip awe-sample.exe Makefile awe-sample.cpp

%.o: %.cpp
	$(CXX) $(CFLAG) -c -o $@ $^

awe-sample.exe : awe-sample.o
	$(CXX) $(LDFLAG) -o $@ $^
